﻿<%@ Control Language="C#" Inherits="FSC.HaNamAPApplication.AP, FSC.HaNamAPApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9f1bbb5b0477b356"  compilationMode="Always" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>

<%@ Register src="HNAP_LeftNav.ascx" tagname="LeftNav" tagprefix="uc1" %>

<div id="leftpanecontentbox">
	<div class="topline"></div>
	<div id="leftcontent" class="left">
		<uc1:LeftNav ID="LeftNav1" runat="server" />
	</div>
	<div id="primarycontent2" class="left" style="margin-bottom:20px;">
		<div class="moduletitle">Danh mục thủ tục hành chính</div>
		
		<div class="levellable" id="divLevelLable" runat="server">
            <asp:Label ID="lblLevelTitle" runat="server"></asp:Label>
		    <a href="<%=CurrentUrlWithoutParam + "?page=AP" %>" title="">[xóa phân cấp]</a>
		</div>
		
		Tên TTHC:<asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox>&nbsp;
		Lĩnh vực:<asp:DropDownList ID="ddlField" runat="server" Width="150px"></asp:DropDownList>&nbsp;
		Cơ quan:<asp:DropDownList ID="ddlOffice" runat="server" Width="150px"></asp:DropDownList>&nbsp;
        <asp:Button ID="btnSearch" runat="server" Text="Tìm kiếm" 
            onclick="btnSearch_Click" />
        
		<div style="border-bottom:1px #ccc solid;height:1px;margin:10px 0 20px 0;"></div>
        
		<table cellspacing="0" cellpadding="0" border="0" class="tblGray">
			<tr>
				<th>#</th>
				<th>Tên TTHC</th>
				<th>Lĩnh vực</th>
				<th>Cơ quan</th>
				<th>&nbsp;</th>
			</tr>
			<asp:Repeater ID="rptAP" runat="server">
                <ItemTemplate>
                    <tr>
				        <td><%# number++ %></td>
				        <td>
				            <asp:HyperLink ID="hplName" runat="server" NavigateUrl='<%# CurrentUrlWithoutParam + "?page=APDetail&aid=" + Eval("ID") %>'><%# Eval("Name") %></asp:HyperLink>
                        </td>
				        <td><%# Eval("Field") %></td>
				        <td><%# Eval("Office") %></td>
				        <td align="center" style="width:45px;">
                            <asp:HyperLink ID="hplComment" runat="server" NavigateUrl='<%# CurrentUrlWithoutParam + "?page=APDetail&aid=" + Eval("ID") %>'>Góp ý</asp:HyperLink>
				        </td>
			        </tr>
                </ItemTemplate>
                <AlternatingItemTemplate>
			        <tr class="trodd">
				        <td><%# number++ %></td>
				        <td>
				            <asp:HyperLink ID="hplName" runat="server" NavigateUrl='<%# CurrentUrlWithoutParam + "?page=APDetail&aid=" + Eval("ID") %>'><%# Eval("Name") %></asp:HyperLink>
                        </td>
				        <td><%# Eval("Field") %></td>
				        <td><%# Eval("Office") %></td>
				        <td align="center">
                            <asp:HyperLink ID="hplComment" runat="server" NavigateUrl='<%# CurrentUrlWithoutParam + "?page=APDetail&aid=" + Eval("ID") %>'>Góp ý</asp:HyperLink>
				        </td>
			        </tr>
                </AlternatingItemTemplate>
            </asp:Repeater>
		</table>
	</div>
	<div class="clear"></div>
</div>